#include <iostream>
#include <string>
class Person
{
public:
    int age;
    std::string name;
    Person(int age, std::string name)
        : age(age), name(name) {}

    ~Person() {}
    void print()
    {
        std::cout << "name: " << name << " age: " << age << std::endl;
    }
};

class BaseballPlayer : public Person
{
public:
    int atBats;
    void print()
    {
        std::cout << "name: " << name << " age: " << age << " atBats: " << atBats << std::endl;
    }
};